package New;

public class text5 {
    public static void main(String[] args) {
        int []b1={1,2,3,4,5,6,7,8,9,10};
        for (int i = 0; i < b1.length; i++) {
            if (b1[i]%2==0){
                b1[i]=b1[i]/2;
                System.out.println(b1[i]);
            }else {
                b1[i]=b1[i]*2;
                System.out.println(b1[i]);
            }

        }
    }
}
